package com.zy.thread.bank;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/14 10:37
 **/
public class TestBnak {
    public static void main(String[] args) {
        Account ac = new Account();
        Thread th1 = new Thread(ac);
        th1.setName("张三");

        Thread th2 = new Thread(ac);
        th2.setName("李四");

        th1.start();
        th2.start();
    }

}
